<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:rg="http://www.ruijie.com.cn/faces/ui"
	xmlns:c="http://java.sun.com/jstl/core"
	template="/layout/contentLayout.xhtml">
	<ui:param name="param_pageTitle" value="#{messages.samles_crud_party_userManagement}" />
	<ui:param name="param_navigationUrl" value="/luyuan/member/navigationMember.jsf" /> 
	<ui:param name="param_selectedMenuName" value="userMenu" /> 
	
	<ui:define name="road">
		#{messages.luyuan_member_listTable}
	</ui:define>
	
	<ui:define name="content">
		<!-- 弧形外观 -->
		<h:form id="userForm">
			<rg:areaPanel>
			
			<rg:areaPanel type="searchPanel" style="margin: 10px 0;">
				<rg:fieldSet column="auto" labelWidth="80px" >
					<rg:inputText id="name" label="#{messages.luyuan_member_name}" value="#{memberActionForAdmin.criteria.name}" />
					<rg:inputText id="mobile" label="联系电话" value="#{memberActionForAdmin.criteria.mobile}" />
					
					<h:commandButton styleClass="button" value="查询" />
			 	</rg:fieldSet>
			 </rg:areaPanel>
			
			<h:panelGroup id="userTableGroup">
				<rg:table id="deviceTable"  value="#{memberActionForAdmin.memberTableModel}" var="item" columnConfigurable="disable">
                    <rg:column property="name" title="#{messages.luyuan_member_name}" />
                    <rg:column property="mobile" title="#{messages.luyuan_member_mobile}" />
                    <rg:column cellType="oper"
                                title="#{messages.crud_tbl_operate_label}" width="220">
                                <ul class="links"> 
                                    <li>
                                <h:outputLink value="#" onclick="UI.instance.showDialog({id:'updateMemberPassword', src:'/luyuan/member/updateMemberPassword.jsf?memberId=#{item.account.id}'});">修改密码</h:outputLink>
                                    </li>
                                </ul>
                 </rg:column>
            	</rg:table>
			</h:panelGroup>
			</rg:areaPanel>
		</h:form> 
	</ui:define>

</ui:composition>